package com.danco.training.zaneuskaya.connection.dao;


import java.util.List;

import org.hibernate.HibernateException;
import org.hibernate.Session;

import com.danco.training.zaneuskaya.domain.Book;
import com.danco.training.zaneuskaya.domain.Claim;

public interface ClaimDao extends GenericDao<Claim, Integer> {

	public List<Claim> readClaimsByAlphabet(Session session) throws HibernateException;

	public List<Claim> readClaimsByClaimAmount(Session session) throws HibernateException;
	
	public boolean executeClaim (Session session, Claim object)throws HibernateException;
	
	public boolean deleteClaimByBook (Session session, Book book) throws HibernateException;
	
	public List<Claim> findClaimByBook (Session session, Book book)throws HibernateException;
}
